<html>
<head>
	<title>Excersise 8</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>
	<script>
	var sideA;
	var sideB;
	var heightH;
	sideA = 5;
	sideB = 5
	heightH = 5;
	jsConsole.writeLine("area of rectangle with side A: " + sideA + ", side B: " + sideB + " and height: " + heightH + " is: " + ((sideA + sideB)/2)*heightH);
	sideA = 15;
	sideB = 15
	heightH = 5;
	jsConsole.writeLine("area of rectangle with side A: " + sideA + ", side B: " + sideB + " and height: " + heightH + " is: " + ((sideA + sideB)/2)*heightH);
	sideA = 5;
	sideB = 8;
	heightH = 5;
	jsConsole.writeLine("area of rectangle with side A: " + sideA + ", side B: " + sideB + " and height: " + heightH + " is: " + ((sideA + sideB)/2)*heightH);
	</script>
</body>
</html>
